/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.TaiKhoan_DAO;
import DTO.TaiKhoan_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class TaiKhoan_BUS {
    
    public static String Get_MaTK() throws SQLException{
        return TaiKhoan_DAO.Get_MaTK();
    }
    public static ArrayList<TaiKhoan_DTO> GetALL(){
        return TaiKhoan_DAO.GetALL();
    }
    public static boolean Insert(TaiKhoan_DTO TaiKhoan){
        return TaiKhoan_DAO.Insert(TaiKhoan);
    }
    public static boolean Update(TaiKhoan_DTO TaiKhoan){
        return TaiKhoan_DAO.Update(TaiKhoan);
    }
    public static boolean Delete(String MaTK){
        return TaiKhoan_DAO.Delete(MaTK);
    }
}
